namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 备份 - 产品信息
    /// </summary>
    public DbSet<POBakProdProduct> BakProdProducts { get; set; }
}

/// <summary>
/// 备份 - 产品信息
/// 表[bak_prod_product]
/// </summary>
[Table("bak_prod_product")]
public class POBakProdProduct
{
    /// <summary>
    /// 主键[bak_prod_product.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// [bak_prod_product.product_code)]
    /// </summary>
    [Column("product_code")]
    public string ProductCode { get; set; }
    /// <summary>
    /// [bak_prod_product.md_equip_id)]
    /// </summary>
    [Column("md_equip_id")]
    public long? MdEquipId { get; set; }
    /// <summary>
    /// [bak_prod_product.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// [bak_prod_product.product_batch)]
    /// </summary>
    [Column("product_batch")]
    public string ProductBatch { get; set; }
    /// <summary>
    /// [bak_prod_product.md_time)]
    /// </summary>
    [Column("md_time")]
    public DateTime? MdTime { get; set; }
    /// <summary>
    /// 产品质检   0:合格 1:不合格
    /// [bak_prod_product.product_quality)]
    /// </summary>
    [Column("product_quality")]
    public int? ProductQuality { get; set; }
    /// <summary>
    /// [bak_prod_product.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
    /// <summary>
    /// [bak_prod_product.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// [bak_prod_product.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// [bak_prod_product.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// [bak_prod_product.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// [bak_prod_product.back_time)]
    /// </summary>
    [Column("back_time")]
    public DateTime? BackTime { get; set; }
    /// <summary>
    /// 胎胚锁定  0:解锁 1:锁定
    /// [bak_prod_product.tire_lock)]
    /// </summary>
    [Column("tire_lock")]
    public int? TireLock { get; set; }
}
